HTML5 JS API Index > Web Audio Tutorials & Specs
This interface represents a memory-resident audio asset (for one-shot sounds
and other short audio clips). Its format is non-interleaved IEEE 32-bit linear PCM with a
nominal range of -1 -> +1. It can contain one or more channels. Typically, it would be expected that the length
of the PCM data would be fairly short (usually somewhat less than a minute).
| Properties |
| double | duration |
| long | length |
| long | numberOfChannels |
| float | sampleRate |
| Operations |
| Float32Array | getChannelData(unsigned long channel) |